package com.lp.biz.system.controller;

import cn.hutool.json.JSONUtil;
import lombok.extern.slf4j.Slf4j;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @program: backend
 * @description:
 * @author: Ke.Song
 * @since: 2024-06-26 20:16:11
 */
@Slf4j
@RestController
@RequestMapping("/notify")
public class NoticeController {

    @PostMapping("/scan")
    public ResponseEntity<Object> transactionNotify(Object o) {
        log.info("扫描结果：{}", JSONUtil.toJsonStr(o));
        return ResponseEntity.ok().build();
    }
}
